package com.clwl.supervise.superviseapp.mapper.supervise;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.base.CommonSearchEntity;
import com.clwl.supervise.superviseapp.entity.supervise.AdsTsYgsbhgxx;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface AdsTsYgsbhgxxMapper extends BaseMapper<AdsTsYgsbhgxx> {


    Map<String, Object> selectCountMap();

    List<Map<String, Object>> selectMapPage(@Param("start") int start, @Param("end") int  end , @Param("params") CommonSearchEntity commonSearchEntity);

    int getChouyangByLicenseCount(@Param("license") String license,@Param("creditCode") String creditCode);

    Map<String, Object> getChouyangByLicense(@Param("license") String license,@Param("creditCode") String creditCode);
}